package com.eshop.modules.shop.service;

import com.eshop.modules.shop.domain.SystemAttachment;
import com.eshop.common.service.BaseService;

public interface SystemAttachmentService extends BaseService<SystemAttachment>
{
    SystemAttachment getInfo(final String name);
    
    SystemAttachment getByCode(final String code);
    
    void attachmentAdd(final String name, final String attSize, final String attDir, final String sattDir);
    
    void newAttachmentAdd(final String name, final String attSize, final String attDir, final String sattDir, final Long uid, final String code);
}
